<div class="tab-pane" id="mobileset">
	{if $system['selling_agent']==1}
	<div class="panel panel-default" role="tabpanel" style="">
		<div class="panel-heading">代理模式</div>
		<div class="panel-body" style="">
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">限制代理注册时间</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="limit_selling_agent_time" value="0" {if $config['limit_selling_agent_time']==0} checked="checked"{/if} type="radio"> 不限制
					</label>
					<label class="radio-inline">
						<input name="limit_selling_agent_time" value="1" {if $config['limit_selling_agent_time']==1} checked="checked"{/if} type="radio"> 限制
					</label>
				</div>
			</div>
			<div class="form-group" {if $config['limit_selling_agent_time']!=1}hidden="true"{/if} id="selling_agent_time">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style="color: red;">*</span>注册代理时间</label>
				<div class="col-sm-5 col-xs-12">
					{php echo view_form_field_daterange('selling_agent_time', array('start'=>date('Y-m-d H:i:s',$config['selling_agent_begintime']),'end'=>date('Y-m-d H:i:s',$config['selling_agent_endtime'])), true);}
					<span class="help-block">注册代理起止时间，只能在这个时间范围内允许代理注册</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">联系客服</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="selling_agent_kefu" value="0" {if $config['selling_agent_kefu']==0} checked="checked"{/if} type="radio"> 显示员工的
					</label>
					<label class="radio-inline">
						<input name="selling_agent_kefu" value="1" {if $config['selling_agent_kefu']==1} checked="checked"{/if} type="radio"> 显示代理的
					</label>
					<span class="help-block">链接底部的联系客服，显示员工的还是代理的;</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册方式</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="selling_agent_reg" value="0" {if $config['selling_agent_reg']==0} checked="checked"{/if} type="radio"> 扫码注册
					</label>
					<label class="radio-inline">
						<input name="selling_agent_reg" value="1" {if $config['selling_agent_reg']==1} checked="checked"{/if} type="radio"> 推荐人为员工的自动注册
					</label>
					<span class="help-block">推荐人为员工的自动注册，当客户打开员工的链接直接付款时，自动成为代理，享受代理福利;</span>
				</div>
			</div>
		</div>
	</div>
	{/if}
	<div class="panel panel-default" role="tabpanel" style="">
		<div class="panel-heading">员工权限设置</div>
		<div class="panel-body" style="">
			<!-- <div class="form-group">
         <label class="col-sm-2 col-xs-12 control-label">每天结账时间</label>
        <div class="col-sm-8 col-xs-12">
            <input type="text" class="form-control"  placeholder="" name="todaytime"  value="{$config['todaytime']}">
            <span class="help-block">每天结算时间为整点0-23,如设置18,18点以后定单全算第二天业绩</span>
        </div>
    </div> -->
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工可以支付</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isworkerpay" value="0" {if $config['isworkerpay']==0} checked="checked"{/if} type="radio"> 不可支付
					</label>
					<label class="radio-inline">
						<input name="isworkerpay" value="1" {if $config['isworkerpay']==1} checked="checked"{/if} type="radio"> 可支付
					</label>
					<span class="help-block">默认为员工不可以支付;若员工支付,分享出去别人是不可以加入他的团;分销红包会给到员工本人,业绩算员工本人;</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">到店退款码</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="refund_limit_ip" value="1" {if $config['refund_limit_ip']==1} checked="checked"{/if} type="radio"> 关闭
					</label>
					<label class="radio-inline">
						<input name="refund_limit_ip" value="0" {if $config['refund_limit_ip']==0} checked="checked"{/if} type="radio"> 开启
					</label>
					<span class="help-block">客户需要退款时，必须到店连接wifi扫码才可以退款，方便员工再次追单</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">投诉退款</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="refund_limit_worker" value="0" {if $config['refund_limit_worker']==0} checked="checked"{/if} type="radio"> 仅管理员可退
					</label>
					<label class="radio-inline">
						<input name="refund_limit_worker" value="1" {if $config['refund_limit_worker']==1} checked="checked"{/if} type="radio"> 仅管理员可退，员工不显示退款按扭
					</label>
					<label class="radio-inline">
						<input name="refund_limit_worker" value="2" {if $config['refund_limit_worker']==2} checked="checked"{/if} type="radio"> 员工可退
					</label>
					<span class="help-block">若客户发起投诉时，员工是否有权限退款</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工协助拼团</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_tuan_order" value="0" {if $config['is_tuan_order']==0} checked="checked"{/if} type="radio"> 不可协助
					</label>
					<label class="radio-inline">
						<input name="is_tuan_order" value="1" {if $config['is_tuan_order']==1} checked="checked"{/if} type="radio"> 协助拼团
					</label>
					<span class="help-block">手机版后台=>定单管理=>二维码,员工将些二维码分享给其它客户可快速拼团</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工查团队日报</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isreport" value="0" {if $config['isreport']==0} checked="checked"{/if} type="radio"> 不可查看
					</label>
					<label class="radio-inline">
						<input name="isreport" value="1" {if $config['isreport']==1} checked="checked"{/if} type="radio"> 可查看
					</label>
					<span class="help-block">员工只可查看自个的日报,这里设置是否可看到团队及公司的每日报表</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工查团队排名</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isrank" value="0" {if $config['isrank']==0} checked="checked"{/if} type="radio"> 不可查看
					</label>
					<label class="radio-inline">
						<input name="isrank" value="1" {if $config['isrank']==1} checked="checked"{/if} type="radio"> 可查看
					</label>
					<span class="help-block">管理员可查看排名，员工是否可看到团队的业绩排名</span>
				</div>
			</div>
			{if $system['is_multiple_merchants'] }
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">商家管理员查联盟商排名</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isshoprank" value="0" {if $config['isshoprank']==0} checked="checked"{/if} type="radio"> 不可查看
					</label>
					<label class="radio-inline">
						<input name="isshoprank" value="1" {if $config['isshoprank']==1} checked="checked"{/if} type="radio"> 可查看
					</label>
					<span class="help-block">超级管理员可查联盟商排名，商家管理员是否可查，普通员工不可查</span>
				</div>
			</div>
			{/if}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工线下录入</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isxianxia" value="0" {if $config['isxianxia']==0} checked="checked"{/if} type="radio"> 不可录入
					</label>
					<label class="radio-inline">
						<input name="isxianxia" value="1" {if $config['isxianxia']==1} checked="checked"{/if} type="radio"> 可录入可删除
					</label>
					<label class="radio-inline">
						<input name="isxianxia" value="2" {if $config['isxianxia']==2} checked="checked"{/if} type="radio"> 可录入不可删除
					</label>
					<span class="help-block">当客户不可以在线支付时，员工可进行线下录入，由此客户一样可以线上组团</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">线下重复录入</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="xianxia_chongfu" value="0" {if $config['xianxia_chongfu']==0} checked="checked"{/if} type="radio"> 同名同手机号不允许重复录入
					</label>
					<label class="radio-inline">
						<input name="xianxia_chongfu" value="1" {if $config['xianxia_chongfu']==1} checked="checked"{/if} type="radio"> 允许
					</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">管理员查看投屏</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="admin_show_touping" value="0" {if $config['admin_show_touping']==0} checked="checked"{/if} type="radio"> 可以查看
					</label>
					<label class="radio-inline">
						<input name="admin_show_touping" value="1" {if $config['admin_show_touping']==1} checked="checked"{/if} type="radio"> 不可查看
					</label>
					<span class="help-block">默认为管理员一直可以查看投屏网址，商家管理权限等同于团队排名，如果可查看团队排名则可以查看投屏，否则不;员工无权查看</span>
				</div>
			</div>
			<!-- <div class="form-group">
        <label class="col-sm-2 col-xs-12 control-label">显示线下录入</label>
          <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                <label class="radio-inline">
                    <input name="isshowxianxia" value="0" {if $config['isshowxianxia']==0} checked="checked"{/if} type="radio"> 自动
                </label>
                <label class="radio-inline">
                    <input name="isshowxianxia" value="1" {if $config['isshowxianxia']==1} checked="checked"{/if} type="radio"> 显示
                </label>
                <span class="help-block">自动:线下录入关闭手机端则不显示,开启则手机端显示;显示:不论线下功能是否开启一直显示</span>
            </div>
    </div> -->

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工修改客户定单</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="iseditorder" value="0" {if $config['iseditorder']==0} checked="checked"{/if} type="radio"> 不可修改
					</label>
					<label class="radio-inline">
						<input name="iseditorder" value="1" {if $config['iseditorder']==1} checked="checked"{/if} type="radio"> 可修改
					</label>
					<span class="help-block">默认员工可以手机管理端修改客户报名信息,备注、储值卡余额不受此条件限制等</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工修改所属团</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="iseditgroup" value="0" {if $config['iseditgroup']==0} checked="checked"{/if} type="radio"> 不可修改
					</label>
					<label class="radio-inline">
						<input name="iseditgroup" value="1" {if $config['iseditgroup']==1} checked="checked"{/if} type="radio"> 可修改
					</label>
					<span class="help-block">默认员工不可更改所属团</span>
				</div>
			</div>
			{if ($config['ishexiao']==1 || $config['isgifthexiao']==1) && $system['mulit_products']!=1}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">员工手工核销</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isedithexiao" value="0" {if $config['isedithexiao']==0} checked="checked"{/if} type="radio"> 不可手工核销
					</label>
					<label class="radio-inline">
						<input name="isedithexiao" value="1" {if $config['isedithexiao']==1} checked="checked"{/if} type="radio"> 可核销
					</label>
					<span class="help-block">手机管理后台》订单编辑》订单核销</span>
				</div>
			</div>
			{/if}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">定单修改日志</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_view_edit_log" value="0" {if $config['is_view_edit_log']==0} checked="checked"{/if} type="radio"> 不可查看
					</label>
					<label class="radio-inline">
						<input name="is_view_edit_log" value="1" {if $config['is_view_edit_log']==1} checked="checked"{/if} type="radio"> 可查看
					</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">用户日志</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_view_user_log" value="0" {if $config['is_view_user_log']==0} checked="checked"{/if} type="radio"> 全员可查看
					</label>
					<label class="radio-inline">
						<input name="is_view_user_log" value="1" {if $config['is_view_user_log']==1} checked="checked"{/if} type="radio"> 仅管理员查看
					</label>
					<label class="radio-inline">
						<input name="is_view_user_log" value="-1" {if $config['is_view_user_log']==-1} checked="checked"{/if} type="radio"> 不可查看
					</label>
				</div>
			</div>
			{if  $system['lottery']==1}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">中奖记录</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_view_lottery_record" value="0" {if $config['is_view_lottery_record']==0} checked="checked"{/if} type="radio"> 全员可查看
					</label>
					<label class="radio-inline">
						<input name="is_view_lottery_record" value="1" {if $config['is_view_lottery_record']==1} checked="checked"{/if} type="radio"> 仅管理员查看
					</label>
				</div>
			</div>
			{/if}
			{if $_G['companyname'] !='易宣软件'}
			<input type="hidden" name="is_show_service" value="3" />
			{else}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">技术咨询</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_show_service" value="0" {if $config['is_show_service']==0 || !$config['is_show_service']} checked="checked"{/if} type="radio"> 电脑+手机均开启
					</label>
					<label class="radio-inline">
						<input name="is_show_service" value="1" {if $config['is_show_service']==1} checked="checked"{/if} type="radio"> 仅电脑
					</label>
					<label class="radio-inline">
						<input name="is_show_service" value="2" {if $config['is_show_service']==2} checked="checked"{/if} type="radio"> 仅手机
					</label>
					<label class="radio-inline">
						<input name="is_show_service" value="3" {if $config['is_show_service']==3} checked="checked"{/if} type="radio"> 禁用
					</label>
				</div>
			</div>
			{/if}
		</div>
	</div>
	<div class="panel panel-default" role="tabpanel" style="">
		<div class="panel-heading">员工参数设置</div>
		<div class="panel-body" style="">
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册员工密码</label>
				<div class="col-sm-8 col-xs-12">
					<div class="input-group">
						{if !$system['is_multiple_merchants']}
						<span class="input-group-addon">密码</span>
						<input type="text" class="form-control"  placeholder="" name="workerpass"  value="{if empty($config['workerpass'])}{php echo 30000+rand(0,9999);}{else}{$config['workerpass']}{/if}">
						{/if}
						<span class="input-group-addon">模式</span>
						<select class="form-control" name="workerpass_mode">
							<option value="0" {if $config['workerpass_mode'] == "0" }selected="selected"{/if}>免密注册</option>
							<option value="1" {if $config['workerpass_mode'] == "1" }selected="selected"{/if}>常规注册</option>
						</select>
					</div>

					<span class="help-block">扫码添加员工,需要输入</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">投屏虚拟数</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="daping_xuni" value="0" {if $config['daping_xuni']==0} checked="checked"{/if} type="radio"> 显示虚拟定单
					</label>
					<label class="radio-inline">
						<input name="daping_xuni" value="1" {if $config['daping_xuni']==1} checked="checked"{/if} type="radio"> 不显示
					</label>
					<span class="help-block">虚拟定单产生方式1：员工业绩》增加虚拟定单，主要用于现场直播等，增加直播过程中的气氛</span>
					<span class="help-block">虚拟定单产生方式2：定单管理》开新团、新增虚拟团成员都会增加虚拟定单，若不想投屏中显示此部分定单，选择不显示即可</span>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">交易凭证样式</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="examplestyle" value="0" {if $config['examplestyle']==0} checked="checked"{/if} type="radio"> 系统红包
					</label>
					<label class="radio-inline">
						<input name="examplestyle" value="1" {if $config['examplestyle']==1} checked="checked"{/if} type="radio"> 客户支付凭证
					</label>
					<span class="help-block">系统红包：客户红包见证，用于朋友圈推广，好处是可以显示二维码。客户支付凭证：客户支付完后弹出的支付凭证，更有说服力，但无二维码。</span>
				</div>
			</div>
			{if $config['examplestyle']==0}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">交易凭证二维码</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isexampleqr" value="0" {if $config['isexampleqr']==0} checked="checked"{/if} type="radio"> H5不显示+小程序显示
					</label>
					<label class="radio-inline">
						<input name="isexampleqr" value="1" {if $config['isexampleqr']==1} checked="checked"{/if} type="radio"> 全显示
					</label>
					<label class="radio-inline">
						<input name="isexampleqr" value="2" {if $config['isexampleqr']==2} checked="checked"{/if} type="radio"> 全不显示
					</label>
					<span class="help-block">交易凭证(客户见证/成交记录)的图片上显示二维码,如遇客户投诉可能会出现发到朋友圈不可见,如遇到关闭二维码即可；仅限交易凭证样式-统红包使用</span>
				</div>
			</div>
			{/if}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">添加客服</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="is_input_wxchat" value="0" {if $config['is_input_wxchat']==0} checked="checked"{/if} type="radio"> 截屏二维码添客服
					</label>
					<label class="radio-inline">
						<input name="is_input_wxchat" value="1" {if $config['is_input_wxchat']==1} checked="checked"{/if} type="radio"> 复制wxid添加客服
					</label>
					<span class="help-block">点击底部客服，是截屏添加还是复制wxid添加客服</span>
				</div>
			</div>
			{if LINGZE_SERVER}
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">领泽投屏不显示的团队名</label>
				<div class="col-sm-8 col-xs-12">
					<input type="text" class="form-control"  name="no_show_team" value="{$config['no_show_team']}">
					<span class="help-block">输入队名：用逗号分隔；如：小爱队,超越队</span>
				</div>
			</div>
			{/if}
		</div>
	</div>
	<div class="panel panel-default" role="tabpanel" style="">
		<div class="panel-heading">用户日志</div>
		<div class="panel-body" style="">
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">客户追踪快捷回复</label>
				<div class="col-sm-8 col-xs-12">
					<textarea name="userdata_reply" rows="8" class="form-control" >{php echo empty($config['userdata_reply'])?$userdata_reply:$config['userdata_reply'];}</textarea>
					<span class="help-block">快速标记客户使用，一行为一条</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">重点用户关注条件</label>
				<div class="col-sm-8 col-xs-12">
					<div id="Userdata_list">
						{php $type_list = \app\model\Userdata::dataType(-1);}
						{php  $userdata_type = empty($config['userdata_type'])?\app\model\Userdata::getDefaultType():$config['userdata_type'];}
						{loop $userdata_type $row}
						<div class="input-group">
							<span class="input-group-addon">动作</span>
							<select class="form-control" name="userdata_type[]">
								<option value="" >请选择</option>
								{loop $type_list $index $item}
								<option value="{$index}" {if $row['type'] == $index }selected="selected"{/if} >{$item['name']}</option>
								{/loop}
							</select>
							<span class="input-group-addon">筛选条件：达到</span>
							<input type="text" name="userdata_greater[]" class="form-control" placeholder="" value="{$row['greater']}">
							<span class="input-group-addon">次</span>
							<span class="input-group-addon"><a href="javascript:;" class="delUserdata"><i  class="fa fa-times"></i></a></span>
						</div>
						{/loop}
					</div>
					<a href="javascript:;" class="addUserdata" style="margin-top: 20px;"><i style="margin-top: 10px;" class="fa fa-plus-circle"></i> 添加动作</a>
				</div>
			</div>
		</div>
	</div>

	<div class="panel panel-default" role="tabpanel" style="">
		<div class="panel-heading">员工注册</div>
		<div class="panel-body" style="">
			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册成功页面</label>
				<div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
					<label class="radio-inline">
						<input name="isnewreg" value="0" {if $config['isnewreg']==0} checked="checked"{/if} type="radio"> 老页面
					</label>
					<label class="radio-inline">
						<input name="isnewreg" value="1" {if $config['isnewreg']==1} checked="checked"{/if} type="radio"> 新页面
					</label>
					<span class="help-block"></span>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册成功背景</label>
				<div class="col-sm-8 col-xs-12">
					{php echo view_form_field_image('newregbg',$config['newregbg']);}
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册成功按钮文字</label>
				<div class="col-sm-8 col-xs-12">
					<input type="text" class="form-control"  placeholder="为空为默认值" name="newregbtntxt"  value="{$config['newregbtntxt']}">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">注册成功按钮颜色</label>
				<div class="col-sm-5 col-xs-12">
					{php echo view_form_field_color('newregbtncolor',$config['newregbtncolor']);}
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 col-xs-12 control-label">按钮距离顶部距离</label>
				<div class="col-sm-8 col-xs-6">
					<input type="text" class="form-control"  placeholder="单位为百分比[%]" name="newregbtntop"  value="{$config['newregbtntop']}">
				</div>
			</div>

		</div>
	</div>
</div>


<script>
	$("input:radio[name='limit_selling_agent_time']").change(function(){
		var val = $(this).val();
		console.log(val)
		if(val==1){
			$("#selling_agent_time").show();
		}else{
			 $("#selling_agent_time").hide();
		}
	});
</script>